package com.iocup.keybastion.authorize.parser;



import com.iocup.keybastion.authorize.element.AnnotationAuthElementProvider;

import java.lang.annotation.Annotation;

/**
 * 身份验证注解解析器，主要把注解内容转换成身份验证元素
 * @author xyjxust
 * @create 2022/3/3 9:31
 **/
public interface AuthAnnotationParser {

     void parser(String key,AuthAnnoObject authAnnoObject,Annotation annotation);

     AnnotationAuthElementProvider getAuthElementProvider();

     AuthAnnotationParser addAuthAnnoObject(AuthAnnoObject...  authAnnoObjects);

     AuthAnnoObject getAuthAnnoObject(Class<? extends Annotation> clazz);
}
